LassoScript Utility
Basics Browse Detail

[Image->Depth]

Tag Link [Image->Depth] Category Image
Type Member Source Available No
Support Preferred Version 7.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0

Description

Returns the color depth of the image in bits. Can be either 8 or 16.

Syntax


[Image Variable->Depth]

Parameters

No Parameters Required.

Examples

To return the color depth of an image:

Use the [Image->Depth] tag on a defined image variable. This returns an integer value representing the color depth of an image in bits.

[Var: 'MyImage' =(Image: '/images/image.jpg')]
[$MyImage->Depth]